package com.xjoyt.pay.gateway.interfaces;

import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;

import com.xjoyt.pay.dto.AccessParam;
import com.xjoyt.pay.dto.ExecuteResult;
import com.xjoyt.pay.gateway.params.RefundParam;
import com.xjoyt.pay.master.dto.RefundResult;

/**
 * 退款接口
 * 
 * @author Administrator
 *
 */
public interface RefundContract {

	/**
	 * 创建退款单
	 * 
	 * @param param
	 * @return
	 */
	@RequestMapping(value = "create", method = RequestMethod.POST)
	ExecuteResult<RefundResult> create(AccessParam<RefundParam> param);

}
